home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / TDOOR201.ZIP;1 / TRIDOOR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-04  |  2.0 KB  |  86 lines

  1. /*
  2.     tridoor.h - TriDoor header file
  3.     Copyright (c) 1992 By Mark Goodwin
  4. */
  5. #ifndef __TRIDOORH__
  6. #define __TRIDOORH__
  7.  
  8. #ifdef __WATCOMC__
  9. #define WCDECL cdecl
  10. #else
  11. #define WCDECL
  12. #endif
  13.  
  14. #define TRUE 1
  15. #define FALSE 0
  16. #define NO_PARITY 0
  17. #define EVEN_PARITY 1
  18. #define ODD_PARITY 2
  19. #define BLACK 0
  20. #define BLUE 1
  21. #define GREEN 2
  22. #define CYAN 3
  23. #define RED 4
  24. #define MAGENTA 5
  25. #define BROWN 6
  26. #define LIGHTGRAY 7
  27. #define DARKGRAY 8
  28. #define LIGHTBLUE 9
  29. #define LIGHTGREEN 10
  30. #define LIGHTCYAN 11
  31. #define LIGHTRED 12
  32. #define LIGHTMAGENTA 13
  33. #define YELLOW 14
  34. #define WHITE 15
  35.  
  36. extern char TDUserName[81], TDUserFirstName[81], TDDoorName[81];
  37. extern char TDCityState[81], TDPhoneNumber[81], TDBBSName[81];
  38. extern char TDSysopName[81], TDAlias[81];
  39. extern int TDAnsiColor, TDSecurityLevel, TDMinutesLeft;
  40. extern int TDSerialPort, TDNode, TDErrorCorrecting;
  41. extern long TDBaudRate, TDLockedBaudRate;
  42. extern void (*TDDropToDOS)(void);
  43. extern int TDNonStandardIRQ;
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48. void TDBeepRemote(void);
  49. void TDClrScr(void);
  50. void TDCommClose(void);
  51. int WCDECL TDCommGetch(void);
  52. int TDCommIsCarrier(void);
  53. int TDCommKeyPressed(void);
  54. void TDCommModemString(char *);
  55. void TDCommOpen(int);
  56. void WCDECL TDCommPutch(int);
  57. void TDCommPuts(char *);
  58. void TDCommSetBaudRate(long);
  59. void TDCommSetDataFormat(int, int, int);
  60. void TDCommSetDTR(int);
  61. void TDCommSetFIFO(int);
  62. void TDCommSetPort(long, int, int, int);
  63. int TDDetectANSI(void);
  64. int TDDetectRIPScrip(void);
  65. void TDDisplayFile(char *);
  66. void TDDisplayBreakableFile(char *);
  67. int TDGetBackground(void);
  68. int TDGetForeground(void);
  69. int TDGetch(void);
  70. char *TDGets(char *, int);
  71. void TDGotoXY(int, int);
  72. void TDInitialize(int argc, char *argv[]);
  73. int TDKeyPressed(void);
  74. void TDHangUp(void);
  75. int TDPrintf(char *, ...);
  76. void TDPutch(int);
  77. void TDPuts(char *);
  78. void TDSetColor(int, int);
  79. int TDTimeLeft(void);
  80. int TDTimeOn(void);
  81. #ifdef __cplusplus
  82. }
  83. #endif
  84.  
  85. #endif
  86.